<?php
$this->breadcrumbs=array(
	'Thành viên',
	'Quên mật khẩu'
);?>

<h1>Quên mật khẩu</h1>

<?php if (Yii::app()->user->hasFlash('message')): ?>
	<?php echo Yii::app()->user->getFlash('message') ?>
<?php else: ?>
	<div class="form">

		<?php $form=$this->beginWidget('CActiveForm', array(
			'id'=>'forgotpassword-index-form',
			'enableAjaxValidation'=>false,
			'focus'=>array($model,'input'),
		)); ?>

		<div class="row">
			<?php echo $form->labelEx($model,'input'); ?>
			<?php echo $form->textField($model,'input'); ?>
			<?php echo $form->error($model,'input'); ?>
		</div>

		<div class="row buttons">
			<?php echo CHtml::submitButton('Yêu cầu mật khẩu mới', array('class'=>'g-button g-button-submit')); ?>
		</div>

		<?php $this->endWidget(); ?>

	</div><!-- form -->
<?php endif ?>